<template>
  <view v-html="data.content">
  </view>
</template>

<script>
  export default {
    data() {
      return {
        id: 12,
        data: []
      }
    },
    onShow() {
      this.load()
    },
    methods: {
      load() {
        this.request({
          url: '/notice/' + this.id,
          method: 'GET'
        }).then(res => {
          this.data = res.data
          console.log(this.data);
        })
      }
    }
  }
</script>

<style>

</style>
